/* ===================================
   ÉLECTRICIEN URGENCE LYON - STYLES
   Mobile-first, minimaliste, rapide
   =================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: #f8fafc;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.header-phone {
    background: #dc2626;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.header-phone:hover {
    background: #b91c1c;
}

/* ===================================
   HERO - ABOVE THE FOLD
   =================================== */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: #fff;
    padding: 2.5rem 0 3rem;
    text-align: center;
}

.hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.hero-text {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

/* CTA BUTTONS */
.cta-button {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.cta-primary {
    background: #dc2626;
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    max-width: 320px;
}

.cta-primary:hover {
    background: #b91c1c;
}

.phone-display {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.05em;
}

/* ===================================
   SECTIONS COMMUNES
   =================================== */
.section {
    padding: 2.5rem 0;
}

.section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
}

/* SECTION URGENCES */
.urgences {
    background: #f8fafc;
}

.urgences-list {
    list-style: none;
}

.urgences-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.urgences-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
}

.urgences-list li:last-child {
    border-bottom: none;
}

/* SECTION AVANTAGES */
.avantages {
    background: #fff;
}

.avantages-list {
    list-style: none;
}

.avantages-list li {
    padding: 0.65rem 0;
    font-size: 1rem;
    color: #166534;
    font-weight: 500;
}

/* SECTION ZONE */
.zone {
    background: #f8fafc;
    text-align: center;
}

.zone p {
    font-size: 1.05rem;
    color: #475569;
}

/* SECTION CTA FINAL */
.cta-final {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    text-align: center;
    padding: 3rem 0;
}

.cta-large {
    background: #dc2626;
    color: #fff;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    width: 100%;
    max-width: 400px;
    line-height: 1.4;
}

.cta-large:hover {
    background: #b91c1c;
}

.phone-display-final {
    margin-top: 1.25rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.05em;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #1a1a1a;
    color: #94a3b8;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 0.75rem;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.85rem;
}

/* ===================================
   PAGES LÉGALES
   =================================== */
.page-legal {
    padding: 2rem 0 3rem;
    min-height: calc(100vh - 200px);
}

.page-legal h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.page-legal h2 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1e3a5f;
}

.page-legal p {
    margin-bottom: 1rem;
    color: #475569;
}

.page-legal ul {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
    color: #475569;
}

.page-legal li {
    margin-bottom: 0.5rem;
}

/* ===================================
   RESPONSIVE - TABLETTE & DESKTOP
   =================================== */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 3.5rem 0 4rem;
    }

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

    .hero-text {
        font-size: 1.15rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .phone-display {
        font-size: 1.75rem;
    }

    .phone-display-final {
        font-size: 2rem;
    }

    .cta-large {
        font-size: 1.15rem;
        padding: 1.25rem 2rem;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .section {
        padding: 3rem 0;
    }

    .cta-final {
        padding: 4rem 0;
    }

    .page-legal {
        padding: 3rem 0 4rem;
    }

    .page-legal h1 {
        font-size: 1.75rem;
    }
}

/* ===================================
   ACCESSIBILITÉ
   =================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .cta-button {
        transition: none;
    }
}

/* Focus visible pour navigation clavier */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}
