/* ========== BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #2ea3f2;
    --blue-dark: #2589d0;
    --blue-muted: #e9f3fb;
    --dark: #1c1c1c;
    --text: #444;
    --text-light: #777;
    --heading: #1c1c1c;
    --border: #e0e0e0;
    --bg: #ffffff;
    --bg-alt: #f7f7f7;
    --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--heading);
    font-weight: 700;
    line-height: 1.25;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: inherit;
    border: 2px solid var(--blue);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.btn:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

/* ========== TOP BAR ========== */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: #fff;
    font-weight: 700;
}

/* ========== NAVBAR ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--blue); }

.nav-cta {
    padding: 8px 20px;
    background: var(--blue);
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}

.nav-cta:hover {
    background: var(--blue-dark);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 1px;
}

/* ========== HERO ========== */
.hero {
    background: var(--dark);
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 680px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========== ABOUT ========== */
.about {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.about-left h2 {
    font-size: 1.8rem;
    line-height: 1.3;
}

.about-right p {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-right strong { color: var(--heading); }

/* ========== SERVICES ========== */
.services {
    padding: 64px 0;
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.service-item {
    display: block;
    background: #fff;
    padding: 36px 28px;
    transition: background 0.2s;
}

.service-item:hover {
    background: var(--blue-muted);
}

.service-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.service-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== DETAIL SECTIONS ========== */
.detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.detail-alt { background: var(--bg-alt); }

.detail-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.detail-label span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: sticky;
    top: 100px;
}

.detail-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.detail-content > p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 40px;
    margin-bottom: 28px;
}

.detail-list ul { display: flex; flex-direction: column; gap: 8px; }

.detail-list li {
    font-size: 0.9rem;
    padding-left: 16px;
    position: relative;
    color: var(--text);
}

.detail-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

.link-arrow {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue);
    transition: opacity 0.15s;
}

.link-arrow:hover { opacity: 0.7; }

.detail-img {
    margin-top: 24px;
    border-radius: var(--radius);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Callout (depannage) */
.callout {
    margin-top: 32px;
    padding: 24px;
    background: var(--dark);
    border-radius: var(--radius);
}

.callout-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}

.callout-phone {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.15s;
}

.callout-phone:hover { color: var(--blue); }

/* ========== AVIS ========== */
.avis {
    padding: 80px 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.avis-header h2 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.avis-source {
    font-size: 0.85rem;
    color: var(--text-light);
}

.avis-note {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
}

.avis-score {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1;
}

.avis-stars {
    color: #f5a623;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.avis-count {
    font-size: 0.8rem;
    color: var(--text-light);
}

.avis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.avis-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.avis-card-stars {
    color: #f5a623;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.avis-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 16px;
    font-style: italic;
}

.avis-card strong {
    font-size: 0.85rem;
    color: var(--heading);
}

@media (max-width: 600px) {
    .avis-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .avis-note { text-align: left; }
    .avis-grid { grid-template-columns: 1fr; }
}

/* ========== CTA BAND ========== */
.cta-band {
    padding: 64px 0;
    background: var(--blue);
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.cta-band p {
    color: rgba(255,255,255,0.8);
    max-width: 640px;
    margin: 0 auto 28px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta-band .btn {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
}

.cta-band .btn:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

/* ========== ZONE ========== */
.zone {
    padding: 64px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.zone h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.zone-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.zone-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.zone-list span {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.15s;
}

.zone-list span:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ========== CONTACT ========== */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-left h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.contact-left > p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.contact-detail a:hover { color: var(--blue); }

/* ========== FORM ========== */
.form {
    background: var(--bg-alt);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--heading);
    background: #fff;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-group textarea { resize: vertical; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.form-check input {
    margin-top: 3px;
    flex-shrink: 0;
}

.form-check a {
    color: var(--blue);
    text-decoration: underline;
}

.form .btn { width: 100%; }

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #fff;
}

.footer-logo span { color: var(--blue); }

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.footer-col a { transition: color 0.15s; }
.footer-col a:hover { color: #fff; }

.footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col li a {
    font-size: 0.88rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    font-size: 0.8rem;
    text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 1fr; gap: 16px; }
    .detail-label span { position: static; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 72px 24px 24px;
        gap: 16px;
        transition: right 0.25s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        border-left: 1px solid var(--border);
        z-index: 200;
    }

    .nav-links.active { right: 0; }

    .topbar-inner { font-size: 0.72rem; }

    .services-grid { grid-template-columns: 1fr; }

    .detail-list { grid-template-columns: 1fr; }

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

    .hero { padding: 60px 0; }

    .hero h1 { font-size: 1.9rem; }

    .about, .detail, .contact { padding: 56px 0; }

    .form { padding: 24px; }
}
