@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- VARIABLES ---------- */
:root {
    --principal: #1e3b3d;
    --or: #8a7020;
    --beige: #f0ede8;
    --blanc: #ffffff;
    --texte: #2a2a2a;
    --texte-doux: #666;
    --bordure: #e4dfd7;

    --font-titre: 'Cormorant Garamond', serif;
    --font-corps: 'Inter', sans-serif;

    --max-w: 1000px;
}

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

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-corps);
    background: var(--beige);
    color: var(--texte);
    line-height: 1.7;
    padding-top: 65px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- IMAGES ---------- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    z-index: 999;

    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.08);

    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/* CONTENEUR FLEX PRINCIPAL */
nav {
    align-items: center;
}

/* LOGO (dans le <a>) */
nav > a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* LOGO STYLE */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    max-height: 36px;
    filter: contrast(1.2);
}

.nav-logo span {
    font-family: var(--font-titre);
    font-weight: 700;
    color: var(--principal);
}

/* MENU DROITE */
nav ul {
    display: flex;
    gap: 12px;
    margin-left: auto; /* 🔥 pousse à droite */
}

/* LIENS */
nav ul a {
    display: inline-flex;
    align-items: center;

    font-size: 0.9rem;
    font-weight: 600;
    color: var(--principal);

    padding: 8px 16px;
    border-radius: 30px;
    white-space: nowrap;
    transition: 0.25s;
}

nav ul a:hover {
    background: var(--principal);
    color: white;
}

/* ---------- HERO ---------- */
.hero {
    min-height: calc(100vh - 65px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-family: var(--font-titre);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 300;
    color: var(--principal);
}

.hero-desc {
    max-width: 520px;
    margin: 20px 0 30px;
    color: var(--texte-doux);
}

/* ---------- BUTTONS ---------- */
.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 12px 28px;
    background: var(--principal);
    color: white;
    border-radius: 30px;
    transition: 0.25s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    padding: 12px 28px;
    border: 1.5px solid var(--principal);
    border-radius: 30px;
}

.btn-outline:hover {
    background: var(--principal);
    color: white;
}

/* ---------- ABOUT ---------- */
.about {
    background: white;
    padding: 100px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: var(--max-w);
    margin: auto;
}

.about-text p {
    color: var(--texte-doux);
    margin-bottom: 14px;
}

/* ---------- SERVICES ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    max-width: var(--max-w);
    margin: auto;
    padding: 0 20px 100px;
}

.service-card {
    background: white;
    border: 1px solid var(--bordure);
    border-radius: 10px;
    padding: 30px;
    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-card p {
    color: var(--texte-doux);
    font-size: 0.9rem;
}

/* ---------- TARIFS ---------- */
.tarifs-section {
    padding: 0 20px 100px;
}

.tarifs-table {
    width: 100%;
    max-width: var(--max-w);
    margin: auto;

    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.tarifs-table th {
    background: var(--principal);
    color: white;
    padding: 18px;
}

.tarifs-table td {
    padding: 18px;
    border-bottom: 1px solid var(--bordure);
}

footer {
    background: var(--principal);
    color: rgba(255,255,255,0.7);
    padding: 60px 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo-text strong {
    color: white;
    font-family: var(--font-titre);
    font-size: 1.2rem;
}

.footer-nav {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-nav a:hover {
    color: white;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}