/* ==========================================================================
   ATMOSPHÈRE 3D - DESIGN PREMIUM & ÉPURÉ
   ========================================================================== */

/* --- 1. VARIABLES & THEME --- */
:root {
    --navy: #1c2a4f;
    --navy-dark: #0f172a;
    --gold: #f0c230;
    --gold-hover: #e0b220;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-gold: 0 10px 25px -5px rgba(240, 194, 48, 0.25);
}

/* --- 2. RESET GLOBAL --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

html {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--bg-light);
}

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

/* Supprime les soulignements moches sur les liens */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- 3. STRUCTURE ET COMPOSANTS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Boutons premium */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-icon {
    margin-right: 0.5rem;
}

/* --- 4. HEADER (Navigation) --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
}

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

.logo-img {
    max-height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-block {
    display: none;
    text-align: right;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.125rem;
}

.contact-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact-number i {
    color: var(--gold);
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.contact-number:hover {
    color: var(--gold);
}

.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

/* --- 5. SECTION HERO --- */
.hero-section {
    padding: 10rem 0 6rem;
    background-color: var(--bg-white);
    text-align: center;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out forwards;
}

.badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--navy);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--gold);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.75rem;
    color: var(--text-main);
    font-weight: 300;
    margin-top: 0.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 6. SECTION SERVICES --- */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.highlight {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.service-card.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--gold);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.service-features i {
    color: var(--gold);
    margin-right: 0.75rem;
    font-size: 0.75rem;
}

/* --- 7. FOOTER --- */
.site-footer {
    background-color: var(--navy-dark);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-block {
    background-color: var(--bg-white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo-block img {
    height: 2rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    max-width: 300px;
}

.footer-contact-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.footer-contact-list i {
    color: var(--gold);
    font-size: 1.125rem;
    margin-top: 0.25rem;
    margin-right: 1rem;
}

.footer-contact-list strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-phone-link {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-phone-link:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.legal-link {
    position: relative;
    color: #94a3b8;
    font-weight: 500;
}

.legal-link:hover {
    color: var(--gold);
}

.legal-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--gold);
    transition: all 0.3s ease;
}

.legal-link:hover::after {
    width: 100%;
    left: 0;
}

/* --- 8. ANIMATIONS & RESPONSIVE --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tablettes (768px et +) */
@media (min-width: 768px) {
    .contact-block { display: block; }
    .mobile-call-btn { display: none; }
    .header-actions .btn-primary { display: inline-flex; }
    
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 2.25rem; }
    
    /* La grille fonctionne parfaitement ici ! */
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); justify-content: space-between; }
    .footer-contact { margin-left: auto; }
    
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Grands écrans (1024px et +) */
@media (min-width: 1024px) {
    .hero-section { padding: 12rem 0 8rem; }
    .hero-title { font-size: 4rem; }
}