/* public/css/offres.css */

.offers-page {
    padding-top: 70px; /* Espace pour la navbar fixe */
    padding-bottom: 80px;
}

/* --- Navigation par onglets --- */
.offers-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

 /* Header */
        .offers-header {
            text-align: center;
            padding: 80px 20px 40px;
            background: var(--gradient);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .offers-header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
            background-size: cover;
        }

        .offers-header h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
        }

        .offers-header p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
            position: relative;
            z-index: 2;
        }

.offer-tab-btn {
    background-color: #f0f2f5;
    color: var(--text-color);
    border: 1px solid transparent;
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-tab-btn:hover {
    background-color: var(--primary-color-opacity);
    color: var(--primary-color);
}

.offer-tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px var(--primary-color-opacity);
    transform: translateY(-2px);
}

/* --- Panneaux de contenu --- */
.offer-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.offer-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Barre de recherche de domaine --- */
.domain-search-container {
    max-width: 700px;
    margin: 40px auto;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.domain-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.domain-search-form .fa-search {
    position: absolute;
    left: 30px;
    color: var(--text-light);
}

.domain-search-form input {
    flex-grow: 1;
    padding: 15px 20px 15px 45px; /* Espace pour l'icône */
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.domain-search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-opacity);
}

.domain-search-form button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.domain-search-form button:hover {
    background-color: var(--primary-color);
    transform: scale(1.02);
}

.tld-pricing {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto 0;
    max-width: 800px;
}

.tld-item {
    background: #f0f2f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tld-item span {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 5px;
}

/* --- Feature Grid for API --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item { /* Style spécifique pour cette carte */
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.api-category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color-opacity);
    font-family: 'Poppins', sans-serif;
}

.text-center {
    text-align: center;
}

.offre-button.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
