/* ================================
   Inspiration Beauté — style général
   ================================ */

:root {
    --text: #352c2b;
    --dark: #401d06;
    --accent: #a66d68;
    --light: #f7eee5;
    --white: #ffffff;
    --font: Perpetua, "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font: 18px/1.5 var(--font);
    text-align: center;
}

/* ================================
   Header
   ================================ */

.site-header {
    padding: 16px 0;
    background: var(--light);
}

.header-container,
.soins,
.page-contact,
.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-top {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.header-logo {
    flex: 0 1 auto;
    min-width: 0;
}

.header-logo img {
    display: block;
    width: min(500px, 48vw);
    max-width: 100%;
    height: auto;
}

.header-right {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.header-phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
}

.header-phone img {
    width: 34px;
    height: auto;
}

.header-phone a {
    color: inherit;
    text-decoration: none;
}

.header-phone a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.header-btn {
    display: block;
    line-height: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-btn:hover,
.footer-social a:hover {
    opacity: 0.75;
    transform: translateY(-3px);
}

.header-btn img {
    display: block;
    width: auto;
    height: 28px;
}

.header-nav {
    padding-top: 12px;
    border-top: 1px solid rgba(166, 109, 104, 0.3);
}

.nav-menu,
.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    flex: 0 0 auto;
}

.nav-menu a,
.menu a {
    display: block;
    padding: 8px 14px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.15;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active,
.menu a:hover {
    background: var(--accent);
    color: var(--white);
}

/* ================================
   Contenu des pages de soins
   ================================ */

.soins,
.page-contact {
    padding-top: 22px;
    padding-bottom: 22px;
}

.soins section,
.page-contact section {
    margin-bottom: 8px;
}

/* Titre principal : légèrement plus grand que h2, en majuscules */
.soins h1 {
    margin: 0 0 12px;
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.soins h2,
.soins h3,
.page-contact h2 {
    margin: 0 0 10px;
    line-height: 1.2;
    text-align: center;
}

.soins > section:first-of-type h2 {
    font-size: 1.35rem;
}

.soins h2:not(:first-of-type) {
    font-size: 1.55rem;
}

.soins h3,
.card .titre-soin {
    font-size: 1.3rem;
}

.soins p,
.soins li,
.card p {
    font-size: 1.15rem;
    line-height: 1.4;
    text-align: center;
}

.soins ul,
.soins ol {
    padding-left: 0;
    list-style-position: inside;
    text-align: center;
}

.soins p {
    margin: 0 auto 14px;
}

.img,
.titre-img,
.contact-logo {
    display: block;
    height: auto;
}

.img {
    width: 70%;
    margin: 0 auto 8px;
}

.img--first {
    display: block !important;
    width: 40%;
    height: auto;
    margin: 0 auto 8px !important;
}

.titre-img {
    width: 80%;
    margin: 0 auto 8px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--white);
    background: var(--light);
    text-align: center;
}

.card p {
    margin: 0 0 6px;
}

.prix {
    margin: 4px 0 0;
    padding-top: 4px;
    color: var(--accent) !important;
    font-size: 1.35rem !important;
    font-weight: bold;
    text-align: center;
}

#estime {
    text-align: center;
}

#estime p {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
    line-height: 1.7;
}

#estime p strong {
    display: block;
}

/* ================================
   Page contact
   ================================ */

.page-contact {
    font-size: 20px;
    text-align: center;
}

.page-contact h2 {
    font-size: clamp(1.55rem, 2.35vw, 2rem);
}

.contact-logo {
    width: 80%;
    max-width: 500px;
    margin: 0 auto 24px;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 24px;
    font-size: 1.45rem;
}

.contact-intro p {
    margin: 4px 0;
    line-height: 1.4;
    text-align: center;
}

.contact-media {
    max-width: 1100px;
    margin: 24px auto;
}

.contact-media img,
.contact-media iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(166, 109, 104, 0.15);
}

.contact-media iframe {
    height: 500px;
}

/* ================================
   Footer
   ================================ */

.site-footer {
    margin-top: 40px;
    padding: 36px 20px 20px;
    border-top: 2px solid var(--accent);
    background: var(--white);
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-column h2,
.footer-column h3 {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-column p {
    margin: 3px 0;
    font-size: 1.05rem;
    line-height: 1.35;
    text-align: center;
}

.footer-hours strong {
    display: inline-block;
    min-width: 90px;
    margin-right: 8px;
    text-align: right;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-salonkee img {
    width: 200px;
    height: auto;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(166, 109, 104, 0.3);
    color: #756866;
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 5px 0;
    text-align: center;
}

/* ================================
   Page d'entrée
   ================================ */

.page-entree {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.page-entree a {
    display: block;
    line-height: 0;
}

.page-entree img {
    display: block;
    width: min(80vw, 800px);
    max-height: 65vh;
    height: auto;
    object-fit: contain;
}

/* ================================
   Tablette et smartphone
   ================================ */

@media (max-width: 1000px) {
    .header-container,
    .soins,
    .page-contact,
    .footer-container {
        padding: 0 16px;
    }

    .nav-menu a,
    .menu a {
        padding: 7px 11px;
        font-size: 1rem;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 16px;
    }

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

    .soins {
        padding: 16px;
    }

    .soins h1 {
        margin-bottom: 10px;
        font-size: 1.28rem;
    }

    .soins > section:first-of-type h2 {
        font-size: 1.12rem;
    }

    .soins h2:not(:first-of-type) {
        font-size: 1.25rem;
    }

    .soins h3,
    .card .titre-soin {
        font-size: 1.08rem;
    }

    .soins p,
    .soins li,
    .card p {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .card {
        padding: 10px;
    }

    .prix {
        font-size: 1.15rem !important;
    }

    .img--first {
        width: 50%;
        margin: 0 auto 8px !important;
    }

    .titre-img {
        width: 100%;
        max-width: none;
        margin: 0 auto 8px;
    }

    .page-contact {
        padding: 18px 12px;
        font-size: 16px;
    }

    .contact-intro {
        font-size: 1.15rem;
    }

    .contact-media iframe {
        height: 400px;
    }

    .footer-column p {
        font-size: 0.95rem;
    }

    .footer-column h2,
    .footer-column h3 {
        font-size: 1.05rem;
    }

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

    .footer-hours p {
        max-width: 280px;
        margin: auto;
        text-align: center;
    }

    .footer-hours strong {
        min-width: auto;
        margin-right: 4px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 10px 0;
    }

    .header-container {
        padding: 0 10px;
    }

    .header-top {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
    }

    .header-logo img {
        width: min(54vw, 280px);
    }

    .header-right {
        align-items: flex-end;
        gap: 6px;
        min-width: 0;
    }

    .header-phone {
        gap: 4px;
        font-size: clamp(0.75rem, 3.2vw, 1rem);
    }

    .header-phone img {
        width: 23px;
    }

    .header-actions {
        align-items: flex-end;
        gap: 4px;
    }

    .header-btn img {
        width: auto;
        max-width: 42vw;
        height: 18px;
        object-fit: contain;
    }

    .nav-menu,
    .menu {
        gap: 7px;
    }

    .nav-menu a,
    .menu a {
        padding: 7px 10px;
        font-size: 0.9rem;
        white-space: normal;
    }

    .page-entree {
        padding: 20px 15px;
    }

    .page-entree img {
        width: 92vw;
        max-height: 55vh;
    }
}

@media (max-width: 480px) {
    .img--first {
        width: 55%;
    }

    .header-logo img {
        width: 52vw;
    }

    .header-phone {
        font-size: 0.72rem;
    }

    .header-phone img {
        width: 20px;
    }

    .header-btn img {
        height: 16px;
        max-width: 44vw;
    }

    .nav-menu a,
    .menu a {
        padding: 6px 9px;
        font-size: 0.85rem;
    }

    .soins p,
    .soins li,
    .card p {
        font-size: 0.9rem;
    }
}
