/* ════════════════════════════════════════════════
   L'Agneline – Feuille de styles partagée
   ════════════════════════════════════════════════ */

/* ── Import Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Lato:wght@400;700&display=swap');

/* ── Variables ── */
:root {
    --terracotta:   #8b4513;
    --terracotta-light: #b05a20;
    --cream:        #fdf8f3;
    --bg:           #ede8e0;
    --text:         #2e2e2e;
    --text-light:   #666;
    --radius:       8px;
    --shadow:       0 2px 12px rgba(0,0,0,0.10);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 0 8px;
    color: var(--text);
    background-color: var(--bg);
    -webkit-text-size-adjust: 100%;
}

/* ── Header ── */
header {
    text-align: center;
    margin: 12px 0 8px;
    background-color: var(--cream);
    padding: 14px 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
header img {
    width: 38%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── Navigation ── */
nav {
    background-color: var(--cream);
    padding: 6px 0;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}
nav li a {
    display: block;
    padding: 10px 24px;
    min-height: 44px;
    line-height: 24px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    border-radius: var(--radius);
    transition: background 0.18s, color 0.18s;
}
nav li a:hover,
nav li a[aria-current="page"] {
    background-color: var(--terracotta);
    color: #fff;
}

/* ── Contenu principal ── */
main {
    background-color: var(--cream);
    padding: 28px 30px;
    margin: 0 auto 20px;
    max-width: 900px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ── Typographie ── */
h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2em;
    color: var(--terracotta);
    margin-top: 0;
    line-height: 1.2;
}
h2 {
    font-size: 1.25em;
    color: var(--terracotta);
    border-bottom: 2px solid #e8d8c8;
    padding-bottom: 6px;
    margin-top: 30px;
}

.section { margin-bottom: 24px; }

/* ── Footer ── */
footer {
    text-align: center;
    padding: 14px 10px;
    background-color: var(--cream);
    margin-top: 0;
    border-radius: var(--radius);
    font-size: 0.88em;
    color: var(--text-light);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}
footer a { color: var(--terracotta); }

/* ══ Page Contact ══ */

/* Image magasin */
.magasin-banner {
    width: 65%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    margin: 0 auto 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Infos adresse / tél */
.magasin-infos { margin-bottom: 14px; }
.magasin-infos p { margin: 6px 0; }

.tel-link {
    display: inline-block;
    font-weight: 700;
    color: var(--terracotta);
    text-decoration: none;
    padding: 4px 0;
    font-size: 1.05em;
}
.tel-link:hover { text-decoration: underline; }

/* Carte Google Maps responsive (ratio 16/9) */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 10px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.map-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Séparateur entre magasins */
section + section {
    border-top: 1px solid #e8d8c8;
    padding-top: 10px;
}

/* CTA bouton */
.btn-cta {
    display: inline-block;
    background-color: var(--terracotta);
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1em;
    margin-top: 10px;
    transition: background 0.18s;
}
.btn-cta:hover { background-color: var(--terracotta-light); }

/* ══ Réseaux sociaux ══ */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}
.social-links a {
    color: var(--terracotta);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95em;
}
.social-links a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════
   MOBILE  ≤ 768px
   ════════════════════════════════════════════════ */
@media only screen and (max-width: 768px) {

    body { padding: 0 4px; }

    /* Header */
    header img {
        width: 86%;
    }

    /* Nav empilée */
    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 4px 12px;
    }
    nav li a {
        padding: 14px 20px;
        font-size: 17px;
        min-height: 48px;
        text-align: center;
    }

    /* Main */
    main {
        padding: 16px 14px;
    }

    /* Titres */
    h1 { font-size: 1.75em; }
    h2 { font-size: 1.1em; }

    /* Contact : images pleine largeur */
    .magasin-banner { width: 100%; }

    /* Carte 4/3 sur mobile (plus haute) */
    .map-container { padding-bottom: 75%; }

    /* Tél bien tapable */
    .tel-link {
        display: block;
        font-size: 1.15em;
        padding: 10px 0;
    }

    /* CTA pleine largeur */
    .btn-cta {
        display: block;
        text-align: center;
        padding: 14px;
    }
}
