/* ============================================
   ÉTUDE DE MAÎTRE LAURINE HEUDIARD - STYLES
   Palette : Bleu & Blanc
   ============================================ */

:root {
    /* Palette - bleu royal, blanc, accents */
    --c-ink:        #0c2461;
    --c-ink-soft:   #1e4da1;
    --c-cream:      #eaf0fb;
    --c-cream-deep: #d4e3f7;
    --c-paper:      #f8faff;
    --c-gold:       #2563eb;
    --c-gold-soft:  #7aabf0;
    --c-line:       rgba(12, 36, 97, 0.14);
    --c-muted:      #4a6990;

    --f-display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
    --f-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-ink);
    background: var(--c-paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { color: var(--c-ink); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--c-gold); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 500;
    color: var(--c-ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.5rem; }

.eyebrow {
    display: inline-block;
    font-family: var(--f-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--c-gold);
    vertical-align: middle;
    margin-right: 14px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--c-line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background: var(--c-ink);
    color: #e8f0fb;
    font-size: 0.82rem;
    padding: 10px 0;
    letter-spacing: 0.04em;
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.header-info { color: #e8f0fb; opacity: 0.9; }

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    gap: 32px;
}

.brand { display: flex; align-items: center; gap: 18px; }

.brand-mark {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: var(--c-ink);
    color: #7aabf0;
    font-family: var(--f-display);
    font-size: 1.9rem;
    font-weight: 500;
    border: 1px solid var(--c-ink);
    position: relative;
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid #7aabf0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--f-display);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-top: 4px;
}

.main-nav ul { list-style: none; display: flex; gap: 36px; align-items: center; }
.main-nav a {
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--c-gold);
    transition: width .3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--c-gold); }

/* ============================================
   HERO
   ============================================ */
.hero {
    background: var(--c-cream);
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "N";
    position: absolute;
    right: -60px; top: -40px;
    font-family: var(--f-display);
    font-size: 32rem;
    color: var(--c-cream-deep);
    line-height: 1;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { margin-bottom: 28px; font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--c-gold); font-weight: 400; }
.hero-lead { font-size: 1.15rem; color: var(--c-ink-soft); max-width: 580px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--f-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all .3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--c-ink); color: #ffffff; border-color: var(--c-ink); }
.btn-primary:hover { background: var(--c-gold); border-color: var(--c-gold); color: #ffffff; }
.btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn-outline:hover { background: var(--c-ink); color: #ffffff; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; }
.section-cream { background: var(--c-cream); }
.section-ink { background: var(--c-ink); color: #e8f0fb; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #ffffff; }
.section-ink .eyebrow { color: var(--c-gold-soft); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-header h2 { margin-bottom: 18px; }
.section-header p { color: var(--c-muted); font-size: 1.05rem; }
.section-ink .section-header p { color: rgba(232, 240, 251, 0.7); }

.page-header {
    background: var(--c-ink);
    color: #e8f0fb;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--c-gold);
}
.page-header h1 { color: #ffffff; margin-bottom: 16px; }
.page-header p { color: rgba(232, 240, 251, 0.75); max-width: 600px; margin: 0 auto; }
.page-header .eyebrow { color: var(--c-gold-soft); }

/* ============================================
   GRILLE DE SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--c-line);
    border: 1px solid var(--c-line);
}
.service-card { background: #ffffff; padding: 50px 40px; transition: background .3s ease; }
.service-card:hover { background: var(--c-cream); }
.service-num { font-family: var(--f-display); font-size: 0.9rem; color: var(--c-gold); letter-spacing: 0.2em; margin-bottom: 24px; display: block; }
.service-card h3 { font-size: 1.6rem; margin-bottom: 18px; }
.service-card p { color: var(--c-muted); font-size: 0.95rem; line-height: 1.7; }

/* ============================================
   DEUX COLONNES
   ============================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col-image {
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-soft) 100%);
    position: relative;
    overflow: hidden;
}
.two-col-image::before { content: ""; position: absolute; inset: 20px; border: 1px solid var(--c-gold-soft); }
.two-col-image::after {
    content: "H";
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-family: var(--f-display);
    font-size: 14rem;
    color: var(--c-gold-soft);
    opacity: 0.6;
    font-weight: 300;
}
.two-col-content p { margin-bottom: 18px; color: var(--c-ink-soft); }
.signature { margin-top: 32px; font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: var(--c-gold); }

/* ============================================
   VALEURS
   ============================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.value-item { text-align: center; }
.value-symbol { font-family: var(--f-display); font-size: 3.6rem; color: var(--c-gold-soft); margin-bottom: 16px; line-height: 1; }
.value-item h3 { margin-bottom: 12px; font-size: 1.4rem; }
.value-item p { color: rgba(232, 240, 251, 0.75); font-size: 0.95rem; }

/* ============================================
   CITATION
   ============================================ */
.quote { text-align: center; padding: 80px 0; background: var(--c-cream); }
.quote blockquote {
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-style: italic;
    font-weight: 400;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.4;
    color: var(--c-ink);
}
.quote blockquote::before,
.quote blockquote::after { content: "\201C"; font-size: 4rem; color: var(--c-gold); line-height: 0; vertical-align: -0.4em; }
.quote blockquote::after { content: "\201D"; }
.quote cite {
    display: block; margin-top: 24px; font-style: normal;
    font-family: var(--f-body); font-size: 0.78rem;
    letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-muted);
}

/* ============================================
   DOMAINES (services)
   ============================================ */
.domain {
    display: grid; grid-template-columns: 80px 1fr 2fr;
    gap: 40px; padding: 50px 0; border-bottom: 1px solid var(--c-line); align-items: start;
}
.domain:last-child { border-bottom: none; }
.domain-num { font-family: var(--f-display); font-size: 2.2rem; color: var(--c-gold); font-weight: 400; }
.domain h3 { font-size: 1.8rem; }
.domain-content p { color: var(--c-ink-soft); margin-bottom: 16px; }
.domain-content ul { list-style: none; margin-top: 16px; }
.domain-content ul li { padding: 6px 0 6px 22px; position: relative; color: var(--c-ink-soft); font-size: 0.95rem; }
.domain-content ul li::before { content: "—"; position: absolute; left: 0; color: var(--c-gold); }

/* ============================================
   HONORAIRES
   ============================================ */
.honoraires-intro { max-width: 800px; margin: 0 auto 60px; text-align: center; color: var(--c-ink-soft); font-size: 1.05rem; }
.tarif-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.tarif-card {
    background: #ffffff;
    border: 1px solid var(--c-line);
    border-top: 3px solid var(--c-gold);
    padding: 40px 32px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.tarif-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(12, 36, 97, 0.15); }
.tarif-card h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--c-ink); }
.tarif-card .tarif-cat { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 24px; display: block; }
.tarif-card p { color: var(--c-muted); font-size: 0.95rem; margin-bottom: 16px; }
.tarif-card .tarif-note { border-top: 1px solid var(--c-line); padding-top: 18px; margin-top: 24px; font-size: 0.85rem; color: var(--c-muted); font-style: italic; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info-block { margin-bottom: 36px; }
.contact-info-block h4 {
    font-family: var(--f-body); font-size: 0.78rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--c-gold); margin-bottom: 12px;
}
.contact-info-block p { color: var(--c-ink-soft); font-size: 1rem; line-height: 1.6; }
.contact-form { background: #ffffff; padding: 50px; border: 1px solid var(--c-line); border-top: 3px solid var(--c-ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; background: var(--c-paper);
    border: 1px solid var(--c-line); font-family: var(--f-body);
    font-size: 0.95rem; color: var(--c-ink); transition: border-color .25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--c-gold); background: #ffffff;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-message { padding: 16px 20px; margin-bottom: 24px; border-left: 3px solid; font-size: 0.92rem; }
.form-message.success { background: rgba(37, 99, 235, 0.06); border-color: var(--c-gold); color: var(--c-ink); }
.form-message.error { background: rgba(200, 50, 50, 0.06); border-color: #c83232; color: #8a2424; }

/* ============================================
   MENTIONS LÉGALES
   ============================================ */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 1.6rem; margin: 40px 0 16px; color: var(--c-ink); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--c-ink-soft); margin-bottom: 14px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--c-ink); color: #e8f0fb; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; padding-bottom: 60px; }
.footer-title { font-family: var(--f-display); font-size: 1.2rem; color: var(--c-gold-soft); margin-bottom: 18px; font-weight: 500; }
.footer-text { color: rgba(232, 240, 251, 0.7); font-size: 0.9rem; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(232, 240, 251, 0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--c-gold-soft); }
.footer-bottom { border-top: 1px solid rgba(232, 240, 251, 0.12); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(232, 240, 251, 0.55); }
.footer-bottom-inner a { color: rgba(232, 240, 251, 0.7); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero-lead, .hero-actions { animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-lead    { animation-delay: 0.15s; }
.hero-actions { animation-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
    .header-main { flex-wrap: wrap; gap: 16px; }
    .main-nav ul { gap: 18px; flex-wrap: wrap; justify-content: center; }
    .main-nav a { font-size: 0.78rem; }
    .header-top-inner { justify-content: center; text-align: center; }
    .two-col { grid-template-columns: 1fr; gap: 50px; }
    .two-col-image { max-width: 420px; margin: 0 auto; }
    .values-grid { grid-template-columns: 1fr; gap: 40px; }
    .domain { grid-template-columns: 60px 1fr; }
    .domain-num { grid-row: span 2; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-form { padding: 30px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .section { padding: 70px 0; }
    .hero { padding: 70px 0 80px; }
    .hero::before { font-size: 18rem; right: -30px; }
}
@media (max-width: 560px) {
    .container { padding: 0 20px; }
    .brand-name { font-size: 1.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .contact-form { padding: 24px; }
    .btn { padding: 14px 28px; font-size: 0.76rem; }
}
