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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #f3f4f6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */

.header {
    background-color: #0f172a;
    color: #e5e7eb;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.logo-main {
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-sub {
    font-size: 0.85rem;
    color: #9ca3af;
    display: block;
}

.header-phone {
    font-weight: 600;
    margin-right: 1rem;
}

/* BUTTONS */

.btn {
    display: inline-block;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 10px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: white;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
}

.btn-block {
    display: block;
    text-align: center;
    width: 100%;
}

/* HERO */

.hero {
    background: radial-gradient(circle at top left, #1d4ed8, #0f172a);
    color: white;
    padding: 3rem 0 3.5rem;
}

.hero-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}

.hero p {
    color: #e5e7eb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-highlight {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-card {
    background: white;
    color: #111827;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.4);
}

.hero-card h2 {
    margin-bottom: 0.5rem;
}

.hero-card ul {
    margin: 0.75rem 0 1.25rem;
    padding-left: 1.2rem;
}

/* SECTIONS */

.section {
    padding: 3rem 0;
}

.section-alt {
    background-color: #e5e7eb;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 650px;
    font-size: 0.95rem;
    color: #4b5563;
}

/* GRID & CARDS */

.grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 10px 15px -5px rgba(15, 23, 42, 0.12);
}

.card h3 {
    margin-bottom: 0.4rem;
}

.card p {
    font-size: 0.92rem;
    color: #4b5563;
}

/* AVIS */

.rating {
    color: #facc15;
    font-size: 1.1rem;
}

.author {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* FORMULAIRE */

.form {
    background: white;
    border-radius: 1rem;
    padding: 1.8rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 10px 15px -5px rgba(15, 23, 42, 0.15);
}

.form-row {
    display: grid;
    gap: 1rem;
}

.form-row + .form-row {
    margin-top: 1rem;
}

.form-row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.form-group label {
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    outline: none;
    background-color: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
    background-color: white;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #4b5563;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.15rem;
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-status {
    font-size: 0.85rem;
    min-height: 1rem;
}

.form-status.success {
    color: #059669;
}

.form-status.error {
    color: #dc2626;
}

/* UTILITAIRES */

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

/* FOOTER */

.footer {
    background-color: #0f172a;
    color: #9ca3af;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-card {
        order: -1;
    }
}
