body {
    font-family: 'Inter', sans-serif;
    background: #f4f6fb;
    margin: 0;
    color: #1e293b;
}

:root {
    --primary:#2464ac ;   /* bleu nuit */
    --secondary: #2464ac; /* doré */
    --text: #01050c;
    --light: #f8fafc;
    --gray: #cad1da;
}

h1, h2, h3 {
    margin: 0 0 10px;
}

p {
    line-height: 1.6;
}

header {
    background: #25364a; 
    color: white;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 1px;
}

nav a {
    color: #b2bbc8;
    margin-left: 25px;
    text-decoration: none;
    font-size: 15px;
}

nav a:hover {
    color: white;
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(67, 104, 152, 0.8), rgba(76, 128, 196, 0.8)),
                url('../assets/images/avocat.jpg') center/cover;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 50px;
    font-family: 'Playfair Display', serif;
}

.hero-content p {
    margin: 20px 0;
    color: #e2e8f0;
}

.about-container {
    display: flex;
    align-items: flex-start; /* 🔥 aligne en haut */
    gap: 40px;
}

.about-image img {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

.center {
    text-align: center;
    margin-bottom: 40px;
}

.cta {
    background: #0b1f3a;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta h2 {
    margin-bottom: 20px;
}

.btn {
    background: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}

.btn1 {
    background: rgb(5, 5, 84);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}

.btn2 {
    background: rgb(5, 5, 84);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    text-align:center;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #b89655;
}

.section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.card:hover {
    border-color: var(--secondary);
}

.card h3 {
    font-family: 'Playfair Display', serif;
}

.prix {
    color: var(--secondary);
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 768px) {

   

    nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {

    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 30px;
    }
}

.footer {
    background: rgba(76, 128, 196, 0.8);
    color: #cbd5e1;
    padding: 70px 20px 20px;
    margin-top: 60px;
      display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: white;
    transform: translateX(3px);
}

.socials {
    margin-top: 10px;
}

.socials a {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #cbd6e5;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }
}

.hero-small {
    background: rgba(67, 104, 152, 0.8);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-small h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
}

.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.link-card {
    display: block;
    padding: 15px;
    background: #f8f9fb;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.2s ease;
    border: 1px solid #eee;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #c0392b;
}

.link-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.link-card p {
    font-size: 0.9rem;
    color: #666;
}

.tooltip-list {
    list-style: none;
    padding: 0;
}

.tooltip-list li {
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 500;
}

/* INFO BULLE */
.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 25px;
    background: #2c3e50;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    width: 250px;
    transition: opacity 0.2s ease;
    z-index: 10;
}

/* apparition au hover */
.tooltip-list li:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px; /* espace pour la puce */
    font-weight: 500;
}

/* 🔴 Puce personnalisée */
.styled-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: #322b2a;
    border-radius: 50%;
}

/* petit effet au hover */
.styled-list li:hover {
    color: #474140;
}

/* BANDEAU COOKIES */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 20px;
    z-index: 9999;
    animation: fadeInUp 0.4s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.1rem;
}

.cookie-text p {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

.cookie-link {
    color: #c0392b;
    text-decoration: none;
    font-weight: 600;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-actions button {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-actions button:hover {
    background: #1f2d3a;
}

/* animation */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* responsive */

@media (max-width: 768px) {

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions button {
        width: 100%;
    }
}

/* =========================
   ACTUALITES JURIDIQUES
========================= */

.actualites-section {
    padding-top: 60px;
}

.actualites-grid {
    display: grid;
    gap: 30px;
}

.actu-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.actu-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary);
}

.actu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #d6c29a;
}

.actu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.actu-tag {
    background: rgba(200,169,106,0.15);
    color: #8b6a34;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.actu-date {
    color: var(--gray);
    font-size: 14px;
}

.actu-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.actu-reference {
    font-size: 0.92rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: 18px;
}

.actu-text {
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.7;
}

.actu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.actu-link:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

/* Responsive */

@media (max-width: 768px) {

    .actu-card {
        padding: 22px;
    }

    .actu-card h2 {
        font-size: 1.2rem;
    }

    .actu-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* =========================
   FORMULAIRE CONTACT
========================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin: 15px 0;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-badge {
    display: inline-block;
    background: rgba(200,169,106,0.15);
    color: #8b6a34;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-item span {
    color: var(--gray);
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
    background: white;
}

.form-group textarea {
    resize: vertical;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
}

.contact-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #102b50;
}

.alert-success {
    background: #e8f8ee;
    color: #1d7a46;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fdecec;
    color: #b42318;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* responsive */

@media (max-width: 900px) {

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 25px;
    }
}

/* =========================
   QUI SUIS-JE
========================= */

.about-top {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.about-image img {
    width: 320px;
    border-radius: 12px;
    object-fit: cover;
}

.about-intro {
    flex: 1;
}

.about-intro h2 {
    font-size: 2.3rem;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    color: #0b1f3a;
}

.intro-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #c8a96a;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.intro-card p {
    margin: 12px 0;
    font-size: 1.05rem;
    color: #334155;
}

.about-content {
    margin-top: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1rem;
}

/* responsive */

@media (max-width: 768px) {

    .about-top {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        width: 100%;
        max-width: 320px;
    }

}

.honeypot {
    display: none;
}

.video-player {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.info-container {
    position: relative;
    display: inline-block;
    margin: 15px 25px 15px 0;
    font-family: Arial, sans-serif;
}

.info-word {
    font-weight: 600;
    font-size: 18px;
    color: #1e1e1e;
}

.info-btn {
    width: 24px;
    height: 24px;

    border-radius: 50%;
    border: none;

    background: #1e3a5f;
    color: white;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

    margin-left: 6px;

    transition: 0.3s;
}

.info-btn:hover {
    background: #2d5d90;
}

.info-box {

    display: none;

    position: absolute;

    top: 38px;
    left: 0;

    width: 340px;

    background: white;

    border-radius: 14px;

    padding: 18px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);

    border: 1px solid #e5e5e5;

    z-index: 999;

    font-size: 15px;
    line-height: 1.7;

    text-align: justify;
}

.info-box.active {
    display: block;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-player {
    width: 100%;
    height: auto;
    border-radius: 10px;
}